<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    body {
      background: #000;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      --sun_color:#f1c40f;
      --earth_color: #3498db;
      --moon_color: #95a5a6;
      --saturn_color: linear-gradient(to bottom, #fbc531 8%,#e1b12c 20%,#fbc531 30%,#f5f6fa 40%,#e1b12c 60%,#f5f6fa 70%,#fbc531 80%,#e1b12c 92%,#fbc531 100%);
      overflow: hidden;
    }
    .sun {
      position: absolute;
      background: var(--sun_color);
      width: 100px;
      height: 100px;
      border-radius: 50%;
      box-shadow:  0 0 10px var(--sun_color),
                   0 0 20px var(--sun_color),
                   0 0 40px var(--sun_color),
                   0 0 80px var(--sun_color);
      animation: roll 36.5s linear infinite;
      z-index: -1;
    }
    /* .sun::before {
      content:'';
      position: absolute;
      width: 530px;
      height: 530px;
      left: 50%;
      top: 50%;
      transform: translate(-50%,-50%);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 50%;
      z-index: -999;
    } */
    .sun::after {
      content:'';
      position: absolute;
      width: 330px;
      height: 330px;
      left: 50%;
      top: 50%;
      transform: translate(-50%,-50%);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 50%;
      z-index: -999;
    }
    .earth {
      background: var(--earth_color);
      position: absolute;
      width: 20px;
      height: 20px;
      left:200px;
      border-radius: 50%;
      box-shadow:  0 0 10px var(--earth_color),
                   0 0 20px var(--earth_color),
                   0 0 30px var(--earth_color),
                   0 0 40px var(--earth_color);
      animation: roll 10s linear infinite;
      z-index: -1;
    }
    .earth::after {
      content:'';
      position: absolute;
      width: 84px;
      height: 84px;
      left: 50%;
      top: 50%;
      transform: translate(-50%,-50%);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 50%;
      z-index: -999;
    }
    .saturn {
      position: absolute;
      background:var(--saturn_color);
      width: 60px;
      height: 60px;
      left:284px;
      border-radius: 50%;
      box-shadow:  0 0 10px var(--sun_color),
                   0 0 15px var(--sun_color),
                   0 0 20px var(--sun_color),
                   0 0 25px var(--sun_color);
      /* animation: roll 10s linear infinite; */
      z-index: -1;
    }
    .saturn::after {
      content:'';
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%,-50%) rotateX(80deg);
      width: 80px;
      height: 30px;
      border-radius: 50%;
      border: 16px solid gray;
      /* transform: ; */
    }
    .moon {
      background: var(--moon_color);
      position: absolute;
      width: 4px;
      height: 4px;
      left:50px;
      border-radius: 50%;
      box-shadow:  0 0 10px var(--moon_color),
                   0 0 15px var(--moon_color),
                   0 0 20px var(--moon_color),
                   0 0 25px var(--moon_color);
      z-index: -1;
    }

    @keyframes roll {
      100% {
        transform: rotateZ(360deg);
      }
    }
    p {
      font-size: 34px;
      color: rgba(255,255,255,.6);
      transition: 1.4s;
      font-weight: 700;
      cursor: pointer;
    }
    p:hover {
      transform: scale(1.4);
      font-weight: 700;
      color:  rgba(255,255,255,.8);
    }
  </style>
</head>
<body>
  <div class="sun">
    <div class="earth">
      <div class="moon"></div>
    </div>
    <!-- <div class="saturn"></div> -->
  </div>
  <p>Mini Galaxy</p>
</body>
</html>